package cn.com.java.mapper;

import cn.com.java.model.SysRoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {


    List<Long> getSysRoleAndMenuByRoleId(@Param("roleId") Long roleId);

    void insertList(List<SysRoleMenu> sysRoleMenuList);
}